<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name ="viewport" content ="initial-scale=1, maximum-scale=3, minimum-scale=1, user-scalable=no">
<link rel="stylesheet" href="/assets/css/mobile/detail.css"/>
<@extends name="/mobile/project/topbar.ftl"/>
<#list model as fund>
<div class="content">
    <div class="overview">
        <img src="${fund.projectImg}" alt="" class="project-img">
        <div class="create clearfix">

            <p class="name">${fund.linkmanName}</p>
            <p class="time">${fund.createdDate?date}于${fund.cityName}</p>
        </div>
        <p class="title">${fund.title}</p>
        <p class="detail">${fund.introduce}……</p>
        <div class="progress">
            <p style="width:${fund.statusNumber}"></p>
        </div>
        <!--<div class="amount clearfix">-->
            <!--<div class="raise-number">${fund.intentionNumber}人认筹</div>-->
            <!--<div class="target-amount">已筹金额${fund.intentionAmount}元</div>-->
            <!--<div class="remain-day">剩余天数 <span class="remain"></span></div>-->
        <!--</div>-->
    </div>

</div>
    <div class="describe">
        <h2>项目详情</h2>
        <div class="describe-content">${fund.detail}</div>
    </div>
    <!--<div class="to-discount clearfix">-->
        <!--<div class="benchmark">-->
            <!--<span>基准金额</span>-->
            <!--<p>-->
                <!--￥<em class="bench">100</em>-->
            <!--</p>-->
        <!--</div>-->
        <!--<div class="amount-btns">-->
            <!--<span>认购份数</span>-->
            <!--<input type="button" value="-" class="subtraction">-->
            <!--<input class="copies-number" value="1">-->
            <!--<input type="button" value="+" class="addition">-->
        <!--</div>-->
        <!--<div class="total">-->
            <!--<span>总额</span>-->
            <!--<em>￥</em>-->
            <!--<p class="total-amount"></p>-->
        <!--</div>-->
    <!--</div>-->
    <a class="intention" href="/project/spec?viewType=page">立即认筹</a>
</#list>
<script src="/assets/script/jquery-1.8.2.min.js"></script>
<#--<script src="http://libs.baidu.com/jquery/2.0.0/jquery.min.js"></script>-->
<script src="/assets/script/mobile/detail.js"></script>

<script>
    var sourceUserId='${sourceUserId}';
    var userId='${userId}';
    //判断是否是分享出来的
    $.setAppData("sourceUserId",sourceUserId);
    $.setAppData("userId",userId);
</script>